<script setup>
import {ref} from "vue";

let info = ref("Hello, Vue!")

defineExpose(
    {
      info
    }
)
</script>

<template>
  <h2>这是子组件</h2>
</template>

<style scoped>

</style>